#example6_12_imshow_img.py
#coding=utf-8
import matplotlib.pyplot as plt
import matplotlib.image as image

# 读入图片
img = image.imread("moon.jpg")
#print(img.shape)  #(高度,宽度,颜色通道)

plt.imshow(img)     #显示图片
plt.axis('off')     #不显示坐标轴
plt.show()

